package cn.zch.soft.mapper;
import cn.zch.soft.model.DeviceQrcodeImage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * The interface Device qrcode image mapper.
 */
@Mapper
public interface DeviceQrcodeImageMapper {
  /**
   * Delete by primary key int.
   *
   * @param id the id
   * @return the int
   */
  int deleteByPrimaryKey(Integer id);
  /**
   * Insert int.
   *
   * @param record the record
   * @return the int
   */
  int insert(DeviceQrcodeImage record);
  /**
   * Insert selective int.
   *
   * @param record the record
   * @return the int
   */
  int insertSelective(DeviceQrcodeImage record);
  /**
   * Select by primary key device qrcode image.
   *
   * @param id the id
   * @return the device qrcode image
   */
  DeviceQrcodeImage selectByPrimaryKey(Integer id);
  /**
   * Update by primary key selective int.
   *
   * @param record the record
   * @return the int
   */
  int updateByPrimaryKeySelective(DeviceQrcodeImage record);
  /**
   * Update by primary key int.
   *
   * @param record the record
   * @return the int
   */
  int updateByPrimaryKey(DeviceQrcodeImage record);
  /**
   * Select bydevice list.
   *
   * @param sql the sql
   * @return the list
   */
  List<DeviceQrcodeImage> selectBydevice(@Param("sql") String sql);
  /**
   * Delete lik ehttpurl.
   *
   * @param sql the sql
   */
  void deleteLIKEhttpurl(@Param("sql") String sql);
  /**
   * Select all list.
   *
   * @return the list
   */
  List<DeviceQrcodeImage> selectAll();
}
